package com.se2.antiqueexhibition.Service;

import com.se2.antiqueexhibition.pojo.AdminActivity;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;

public interface AdminActivityService {

    void insert(AdminActivity a);
     void delete(int id);
     void updateStatus(int id, int status);



     void update(AdminActivity a);

    List<AdminActivity> getActivity();
    AdminActivity getActivityById(int id);
    void updateActivityStaus(int id,int status);
}
